package com.github.live.base;

import android.view.KeyEvent;

/**
 * @ClassName KeyEventDispatcher
 * @description:
 * @author: biao532
 * @create: 2023-12-24 12:12
 * @Version 1.0
 **/
public interface KeyEventDispatcher {
    /**
     *
     * @param keyEvent
     * @return true 已被消耗， false未被消耗
     */
    default boolean dispatch(int keyCode, KeyEvent keyEvent) {
        return false;
    }
}
